'****************************************************************************'
'                                                                            '
' Copyright (C) 2010 Muhammad alaa                                           '
'                                                                            '
' This program is free software; you can redistribute it and/or modify       '
' it under the terms of the GNU General Public License as published by       '
' the Free Software Foundation; either version 2 of the License, or          '
' (at your option) any later version.                                        '
'                                                                            '
' This program is distributed in the hope that it will be useful,            '
' but WITHOUT ANY WARRANTY; without even the implied warranty of             '
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the              '
' GNU General Public License for more details.                               '
'                                                                            '
' You should have received a copy of the GNU General Public License along    '
' with this program; if not, write to the Free Software Foundation, Inc.,    '
' 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.                '
'                                                                            '
'****************************************************************************'

Namespace HResults

    ' FACILITY_CERT = 0x0B (11)
    Public NotInheritable Class Certificate
        Private Sub New()
        End Sub

        Public Shared ReadOnly TRUST_E_PROVIDER_UNKNOWN As HResult = &H800B0001
        Public Shared ReadOnly STATUS_MUI_FILE_NOT_FOUND As HResult = &HC00B0001
        Public Shared ReadOnly TRUST_E_ACTION_UNKNOWN As HResult = &H800B0002
        Public Shared ReadOnly STATUS_MUI_INVALID_FILE As HResult = &HC00B0002
        Public Shared ReadOnly TRUST_E_SUBJECT_FORM_UNKNOWN As HResult = &H800B0003
        Public Shared ReadOnly STATUS_MUI_INVALID_RC_CONFIG As HResult = &HC00B0003
        Public Shared ReadOnly TRUST_E_SUBJECT_NOT_TRUSTED As HResult = &H800B0004
        Public Shared ReadOnly STATUS_MUI_INVALID_LOCALE_NAME As HResult = &HC00B0004
        Public Shared ReadOnly DIGSIG_E_ENCODE As HResult = &H800B0005
        Public Shared ReadOnly STATUS_MUI_INVALID_ULTIMATEFALLBACK_NAME As HResult = &HC00B0005
        Public Shared ReadOnly DIGSIG_E_DECODE As HResult = &H800B0006
        Public Shared ReadOnly STATUS_MUI_FILE_NOT_LOADED As HResult = &HC00B0006
        Public Shared ReadOnly DIGSIG_E_EXTENSIBILITY As HResult = &H800B0007
        Public Shared ReadOnly STATUS_RESOURCE_ENUM_USER_STOP As HResult = &HC00B0007
        Public Shared ReadOnly DIGSIG_E_CRYPTO As HResult = &H800B0008
        Public Shared ReadOnly PERSIST_E_SIZEDEFINITE As HResult = &H800B0009
        Public Shared ReadOnly PERSIST_E_SIZEINDEFINITE As HResult = &H800B000A
        Public Shared ReadOnly PERSIST_E_NOTSELFSIZING As HResult = &H800B000B
        Public Shared ReadOnly TRUST_E_NOSIGNATURE As HResult = &H800B0100
        Public Shared ReadOnly CERT_E_EXPIRED As HResult = &H800B0101
        Public Shared ReadOnly CERT_E_VALIDITYPERIODNESTING As HResult = &H800B0102
        Public Shared ReadOnly CERT_E_ROLE As HResult = &H800B0103
        Public Shared ReadOnly CERT_E_PATHLENCONST As HResult = &H800B0104
        Public Shared ReadOnly CERT_E_CRITICAL As HResult = &H800B0105
        Public Shared ReadOnly CERT_E_PURPOSE As HResult = &H800B0106
        Public Shared ReadOnly CERT_E_ISSUERCHAINING As HResult = &H800B0107
        Public Shared ReadOnly CERT_E_MALFORMED As HResult = &H800B0108
        Public Shared ReadOnly CERT_E_UNTRUSTEDROOT As HResult = &H800B0109
        Public Shared ReadOnly CERT_E_CHAINING As HResult = &H800B010A
        Public Shared ReadOnly TRUST_E_FAIL As HResult = &H800B010B
        Public Shared ReadOnly CERT_E_REVOKED As HResult = &H800B010C
        Public Shared ReadOnly CERT_E_UNTRUSTEDTESTROOT As HResult = &H800B010D
        Public Shared ReadOnly CERT_E_REVOCATION_FAILURE As HResult = &H800B010E
        Public Shared ReadOnly CERT_E_CN_NO_MATCH As HResult = &H800B010F
        Public Shared ReadOnly CERT_E_WRONG_USAGE As HResult = &H800B0110
        Public Shared ReadOnly TRUST_E_EXPLICIT_DISTRUST As HResult = &H800B0111
        Public Shared ReadOnly CERT_E_UNTRUSTEDCA As HResult = &H800B0112
        Public Shared ReadOnly CERT_E_INVALID_POLICY As HResult = &H800B0113
        Public Shared ReadOnly CERT_E_INVALID_NAME As HResult = &H800B0114
    End Class

End Namespace